package br.edu.ufcg.lsd.wbis.ui.client.ui.loggedin.admin.leftmenu;

import br.edu.ufcg.lsd.wbis.ui.client.beans.UserInfo;
import br.edu.ufcg.lsd.wbis.ui.client.ui.management.InfoManager;

import com.gwtext.client.widgets.Panel;
import com.gwtext.client.widgets.TabPanel;
import com.gwtext.client.widgets.layout.AccordionLayout;

/**
 * @author Renato Miceli
 */
public class MenuPanel extends Panel {

	public MenuPanel(TabPanel centerPanel, InfoManager<UserInfo> infoManager) {
		super("Menu");
		this.setCollapsible(true);
		this.setWidth(200);
		this.setLayout(new AccordionLayout(true));

		this.add(new AccordionPanel("Equipment Manager", new EquipmentTreePanel()));
//		this.add(new AccordionPanel("User Manager", new UserTreePanel(centerPanel, infoManager)));
	}

}
